-
Notifications
You must be signed in to change notification settings - Fork 100
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good so far!
Signed-off-by: Oscar Ward <[email protected]>
Signed-off-by: Oscar Ward <[email protected]>
Signed-off-by: Oscar Ward <[email protected]>
Signed-off-by: Oscar Ward <[email protected]>
Signed-off-by: Oscar Ward <[email protected]>
Signed-off-by: Oscar Ward <[email protected]>
Signed-off-by: Oscar Ward <[email protected]>
Signed-off-by: Oscar Ward <[email protected]>
Signed-off-by: Oscar Ward <[email protected]>
…than string trim Signed-off-by: Oscar Ward <[email protected]>
Signed-off-by: Oscar Ward <[email protected]>
Signed-off-by: Oscar Ward <[email protected]>
Signed-off-by: Oscar Ward <[email protected]>
Signed-off-by: Oscar Ward <[email protected]>
Signed-off-by: Oscar Ward <[email protected]>
Signed-off-by: Oscar Ward <[email protected]>
pkg/vcs/vcs.go
Outdated
// Directory is empty, clone the repo | ||
err = gitClone(ctx, workdir, remote) | ||
if err != nil { | ||
fmt.Printf("%v\n", err) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you customize these error messages a bit to make debugging easier? Like:
"Failed to clone remote %v. Skipping. Error: %v".
This applies to all the errors in this function.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That customization is done in the function being called, let me know if you want more than what is there already.
Signed-off-by: Oscar Ward <[email protected]>
Signed-off-by: Oscar Ward <[email protected]>
Signed-off-by: Oscar Ward <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
one nit, but otherwise lgtm
Signed-off-by: Oscar Ward <[email protected]>
acorn-io/manager#1421
Here's a brief description of the flow so far:
Acornfile
in the vcs information on the running app. We also store the build context.acornfile
orbuildContext
fields.Checklist
This is a title (#1216)
. Here's an example